package cn.o.feign.system.user.controller;

import cn.o.entity.system.user.User;
import cn.o.api.feign.controller.FeignController;
import cn.o.api.feign.service.FeignService;
import cn.o.feign.system.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description:
 * @Author: Zhou Chenyu
 * @Date: 2018/10/24
 * @Version: V1.0
 * @Modified By:
 * @Modified Date:
 * @Why:
 */
@RestController
@RequestMapping("/user")
public class UserController extends FeignController<User> {

    @Autowired
    private UserService userService;

    @Override
    public FeignService getService() {
        return userService;
    }

}
